package com.crazymaker.springcloud.seckill.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by 尼恩 on 2019/7/18.
 */
@Repository
public interface SeckillSkuMapper {

    @Transactional
    int decreaseStockCountById(@Param("id") Long id);
}
